package com.aiwiown.face.domain.detect;

import com.aiwiown.face.ApiObject;
import com.aiwiown.face.internal.mapping.ApiField;

public class FaceRectangle extends ApiObject {

    private static final long serialVersionUID = 2059942332889435858L;
    /**
     * 矩形框左上角像素点的纵坐标
     */
    @ApiField("top")
    private Integer top;
    /**
     * 矩形框的宽度
     */
    @ApiField("width")
    private Integer width;
    /**
     * 矩形框左上角像素点的横坐标
     */
    @ApiField("left")
    private Integer left;
    /**
     * 矩形框的高度
     */
    @ApiField("height")
    private Integer height;

    public Integer getTop() {
        return top;
    }

    public void setTop(Integer top) {
        this.top = top;
    }

    public Integer getWidth() {
        return width;
    }

    public void setWidth(Integer width) {
        this.width = width;
    }

    public Integer getLeft() {
        return left;
    }

    public void setLeft(Integer left) {
        this.left = left;
    }

    public Integer getHeight() {
        return height;
    }

    public void setHeight(Integer height) {
        this.height = height;
    }
}